package com.agricultural.robot.model;

/**
 * 播种任务
 */
public class PlantingTask extends Task {
    private String cropType;

    public PlantingTask(String fieldArea, String cropType) {
        super(fieldArea);
        this.cropType = cropType;
    }

    public String getCropType() {
        return cropType;
    }

    public void setCropType(String cropType) {
        this.cropType = cropType;
    }

    @Override
    public String getTaskDescription() {
        return "在" + getFieldArea() + "区域播种" + cropType;
    }
}
